<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>OCILIB (C and C++ Driver for Oracle): ocilib::Connection Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">OCILIB (C and C++ Driver for Oracle)
   &#160;<span id="projectnumber">4.2.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>About</span></a></li>
      <li><a href="modules.html"><span>Documentation</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classocilib_1_1_connection.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="classocilib_1_1_connection-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">ocilib::Connection Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A connection or session with a specific database.  
 <a href="classocilib_1_1_connection.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ocilib_8hpp_source.html">ocilib.hpp</a>&gt;</code></p>

<p>Inherits <a class="el" href="classocilib_1_1_handle_holder.html">ocilib::HandleHolder&lt; OCI_Connection * &gt;</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a8e6889724f15cc94b14a0d161c01b7c2"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a8e6889724f15cc94b14a0d161c01b7c2">FailoverRequestValues</a> { <a class="el" href="classocilib_1_1_connection.html#a8e6889724f15cc94b14a0d161c01b7c2a619c9f1d1b8c4a09db5d1b578659f12f">FailoverRequestSession</a> = OCI_FOT_SESSION, 
<a class="el" href="classocilib_1_1_connection.html#a8e6889724f15cc94b14a0d161c01b7c2a40840e32dce71d774497122c71128897">FailoverRequestSelect</a> = OCI_FOT_SELECT
 }</td></tr>
<tr class="memdesc:a8e6889724f15cc94b14a0d161c01b7c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Failover request enumerated values.  <a href="classocilib_1_1_connection.html#a8e6889724f15cc94b14a0d161c01b7c2">More...</a><br /></td></tr>
<tr class="separator:a8e6889724f15cc94b14a0d161c01b7c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b5f2fc31fda9512a162278e415aa1b9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9">FailoverEventValues</a> { <br />
&#160;&#160;<a class="el" href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9a86c0223a3260f90eddc45f80983f79cc">FailoverEventEnd</a> = OCI_FOE_END, 
<a class="el" href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9aa8515722f8663c4f4519efd2b699c65c">FailoverEventAbort</a> = OCI_FOE_ABORT, 
<a class="el" href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9a3758116bab27d17612945acb570e5751">FailoverEventReauthentificate</a> = OCI_FOE_REAUTH, 
<a class="el" href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9aeff6e1407fad20574cb42d64296622ef">FailoverEventBegin</a> = OCI_FOE_BEGIN, 
<br />
&#160;&#160;<a class="el" href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9a6090e3353d0f3bbf41462178cc58e370">FailoverEventError</a> = OCI_FOE_ERROR
<br />
 }</td></tr>
<tr class="memdesc:a4b5f2fc31fda9512a162278e415aa1b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Failover events enumerated values.  <a href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9">More...</a><br /></td></tr>
<tr class="separator:a4b5f2fc31fda9512a162278e415aa1b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7d48faf0f7dd59bc08120882ce1eac6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#ad7d48faf0f7dd59bc08120882ce1eac6">FailoverResultValues</a> { <a class="el" href="classocilib_1_1_connection.html#ad7d48faf0f7dd59bc08120882ce1eac6a633eb194a9c1f830eeb454dbf6a4e575">FailoverOk</a> = OCI_FOC_OK, 
<a class="el" href="classocilib_1_1_connection.html#ad7d48faf0f7dd59bc08120882ce1eac6aefdb7cd1716e296fb534c8203c4a738d">FailoverRetry</a> = OCI_FOC_RETRY
 }</td></tr>
<tr class="memdesc:ad7d48faf0f7dd59bc08120882ce1eac6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Failover callback results enumerated values.  <a href="classocilib_1_1_connection.html#ad7d48faf0f7dd59bc08120882ce1eac6">More...</a><br /></td></tr>
<tr class="separator:ad7d48faf0f7dd59bc08120882ce1eac6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa8c5b75fa417fbf2838c8a87976e773"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#aaa8c5b75fa417fbf2838c8a87976e773">SessionTraceValues</a> { <a class="el" href="classocilib_1_1_connection.html#aaa8c5b75fa417fbf2838c8a87976e773af907bdf8e5e90c8685d807304fedbece">TraceIdentity</a> = OCI_TRC_IDENTITY, 
<a class="el" href="classocilib_1_1_connection.html#aaa8c5b75fa417fbf2838c8a87976e773a58b108dca8e0d10271a1febbd7b94039">TraceModule</a> = OCI_TRC_MODULE, 
<a class="el" href="classocilib_1_1_connection.html#aaa8c5b75fa417fbf2838c8a87976e773a56b9822268d5cf4e867b7f9d9581eeee">TraceAction</a> = OCI_TRC_ACTION, 
<a class="el" href="classocilib_1_1_connection.html#aaa8c5b75fa417fbf2838c8a87976e773aaf3f29ef47bc042b7284a5acee812067">TraceDetail</a> = OCI_TRC_DETAIL
 }</td></tr>
<tr class="memdesc:aaa8c5b75fa417fbf2838c8a87976e773"><td class="mdescLeft">&#160;</td><td class="mdescRight">Session trace enumerated values.  <a href="classocilib_1_1_connection.html#aaa8c5b75fa417fbf2838c8a87976e773">More...</a><br /></td></tr>
<tr class="separator:aaa8c5b75fa417fbf2838c8a87976e773"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d463d1a09bef7ceeb8b18c0c880ab95"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classocilib_1_1_enum.html">Enum</a>&lt; <a class="el" href="classocilib_1_1_connection.html#a8e6889724f15cc94b14a0d161c01b7c2">FailoverRequestValues</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a2d463d1a09bef7ceeb8b18c0c880ab95">FailoverRequest</a></td></tr>
<tr class="memdesc:a2d463d1a09bef7ceeb8b18c0c880ab95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Failover requests.  <a href="#a2d463d1a09bef7ceeb8b18c0c880ab95">More...</a><br /></td></tr>
<tr class="separator:a2d463d1a09bef7ceeb8b18c0c880ab95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a474638b06cc140cde3b6cb7bc8212ae5"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classocilib_1_1_enum.html">Enum</a>&lt; <a class="el" href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9">FailoverEventValues</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a474638b06cc140cde3b6cb7bc8212ae5">FailoverEvent</a></td></tr>
<tr class="memdesc:a474638b06cc140cde3b6cb7bc8212ae5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Failover events.  <a href="#a474638b06cc140cde3b6cb7bc8212ae5">More...</a><br /></td></tr>
<tr class="separator:a474638b06cc140cde3b6cb7bc8212ae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d2ea6149d4d38adaef41bfc98950676"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classocilib_1_1_enum.html">Enum</a>&lt; <a class="el" href="classocilib_1_1_connection.html#ad7d48faf0f7dd59bc08120882ce1eac6">FailoverResultValues</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a4d2ea6149d4d38adaef41bfc98950676">FailoverResult</a></td></tr>
<tr class="memdesc:a4d2ea6149d4d38adaef41bfc98950676"><td class="mdescLeft">&#160;</td><td class="mdescRight">Failover callback results.  <a href="#a4d2ea6149d4d38adaef41bfc98950676">More...</a><br /></td></tr>
<tr class="separator:a4d2ea6149d4d38adaef41bfc98950676"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a721d1de749a6e6849b30928c2227556c"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classocilib_1_1_enum.html">Enum</a>&lt; <a class="el" href="classocilib_1_1_connection.html#aaa8c5b75fa417fbf2838c8a87976e773">SessionTraceValues</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a721d1de749a6e6849b30928c2227556c">SessionTrace</a></td></tr>
<tr class="memdesc:a721d1de749a6e6849b30928c2227556c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Session traces.  <a href="#a721d1de749a6e6849b30928c2227556c">More...</a><br /></td></tr>
<tr class="separator:a721d1de749a6e6849b30928c2227556c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e5c2e19a29bfedc7d0ea538884eea31"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e5c2e19a29bfedc7d0ea538884eea31"></a>
typedef <a class="el" href="classocilib_1_1_connection.html#a4d2ea6149d4d38adaef41bfc98950676">FailoverResult</a>(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a5e5c2e19a29bfedc7d0ea538884eea31">TAFHandlerProc</a>) (<a class="el" href="classocilib_1_1_connection.html">Connection</a> &amp;con, <a class="el" href="classocilib_1_1_connection.html#a2d463d1a09bef7ceeb8b18c0c880ab95">FailoverRequest</a> failoverRequest, <a class="el" href="classocilib_1_1_connection.html#a474638b06cc140cde3b6cb7bc8212ae5">FailoverEvent</a> failoverEvent)</td></tr>
<tr class="memdesc:a5e5c2e19a29bfedc7d0ea538884eea31"><td class="mdescLeft">&#160;</td><td class="mdescRight">User callback for TAF event notifications. <br /></td></tr>
<tr class="separator:a5e5c2e19a29bfedc7d0ea538884eea31"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6dffda522466a7fde513f6f1e2331ff9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6dffda522466a7fde513f6f1e2331ff9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a6dffda522466a7fde513f6f1e2331ff9">Connection</a> ()</td></tr>
<tr class="memdesc:a6dffda522466a7fde513f6f1e2331ff9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a6dffda522466a7fde513f6f1e2331ff9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17e5724fb706aecb77d2fe246862e035"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a17e5724fb706aecb77d2fe246862e035">Connection</a> (const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;db, const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;user, const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;pwd, <a class="el" href="classocilib_1_1_environment.html#a2a210fdb61cd76e707f01f449b5281b7">Environment::SessionFlags</a> sessionFlags=<a class="el" href="classocilib_1_1_environment.html#ac583b9f6d4fd1da0282afe6e8fb774aeaafa2fca26ddd12a45b9f5e2972f41c27">Environment::SessionDefault</a>)</td></tr>
<tr class="memdesc:a17e5724fb706aecb77d2fe246862e035"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor that creates an opens an underlying DB connection with the given information.  <a href="#a17e5724fb706aecb77d2fe246862e035">More...</a><br /></td></tr>
<tr class="separator:a17e5724fb706aecb77d2fe246862e035"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cb9e2d4c98a3753325f88504c311be3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a7cb9e2d4c98a3753325f88504c311be3">Open</a> (const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;db, const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;user, const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;pwd, <a class="el" href="classocilib_1_1_environment.html#a2a210fdb61cd76e707f01f449b5281b7">Environment::SessionFlags</a> sessionFlags=<a class="el" href="classocilib_1_1_environment.html#ac583b9f6d4fd1da0282afe6e8fb774aeaafa2fca26ddd12a45b9f5e2972f41c27">Environment::SessionDefault</a>)</td></tr>
<tr class="memdesc:a7cb9e2d4c98a3753325f88504c311be3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a physical connection to an Oracle database server.  <a href="#a7cb9e2d4c98a3753325f88504c311be3">More...</a><br /></td></tr>
<tr class="separator:a7cb9e2d4c98a3753325f88504c311be3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a765afaee0c7d73c9dc0690a89db47955"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a765afaee0c7d73c9dc0690a89db47955"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a765afaee0c7d73c9dc0690a89db47955">Close</a> ()</td></tr>
<tr class="memdesc:a765afaee0c7d73c9dc0690a89db47955"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close the physical connection to the DB server. <br /></td></tr>
<tr class="separator:a765afaee0c7d73c9dc0690a89db47955"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5875666074d5c8b9cfb1f5660f176757"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5875666074d5c8b9cfb1f5660f176757"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a5875666074d5c8b9cfb1f5660f176757">Commit</a> ()</td></tr>
<tr class="memdesc:a5875666074d5c8b9cfb1f5660f176757"><td class="mdescLeft">&#160;</td><td class="mdescRight">Commit current pending changes. <br /></td></tr>
<tr class="separator:a5875666074d5c8b9cfb1f5660f176757"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a491989e0422be48ce603c21357b7f605"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a491989e0422be48ce603c21357b7f605"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a491989e0422be48ce603c21357b7f605">Rollback</a> ()</td></tr>
<tr class="memdesc:a491989e0422be48ce603c21357b7f605"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cancel current pending changes. <br /></td></tr>
<tr class="separator:a491989e0422be48ce603c21357b7f605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a234a2ef41d73c687a010c55d5ade874e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a234a2ef41d73c687a010c55d5ade874e">Break</a> ()</td></tr>
<tr class="memdesc:a234a2ef41d73c687a010c55d5ade874e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform an immediate abort of any currently Oracle OCI call on the given connection.  <a href="#a234a2ef41d73c687a010c55d5ade874e">More...</a><br /></td></tr>
<tr class="separator:a234a2ef41d73c687a010c55d5ade874e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e6f6ed2cf7556ed33f142ab6a603526"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a8e6f6ed2cf7556ed33f142ab6a603526">SetAutoCommit</a> (bool enabled)</td></tr>
<tr class="memdesc:a8e6f6ed2cf7556ed33f142ab6a603526"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable or disable auto commit mode (implicit commits after every SQL execution)  <a href="#a8e6f6ed2cf7556ed33f142ab6a603526">More...</a><br /></td></tr>
<tr class="separator:a8e6f6ed2cf7556ed33f142ab6a603526"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cbda0a1b06cd10bf08f9957d08574f5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4cbda0a1b06cd10bf08f9957d08574f5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a4cbda0a1b06cd10bf08f9957d08574f5">GetAutoCommit</a> () const </td></tr>
<tr class="memdesc:a4cbda0a1b06cd10bf08f9957d08574f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates if auto commit is currently activated. <br /></td></tr>
<tr class="separator:a4cbda0a1b06cd10bf08f9957d08574f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9878c6bc9763de6b09906054a1e8570"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#af9878c6bc9763de6b09906054a1e8570">IsServerAlive</a> () const </td></tr>
<tr class="memdesc:af9878c6bc9763de6b09906054a1e8570"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicate if the connection is still connected to the server.  <a href="#af9878c6bc9763de6b09906054a1e8570">More...</a><br /></td></tr>
<tr class="separator:af9878c6bc9763de6b09906054a1e8570"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca1455fa4b198beec80113339b4d7c66"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#aca1455fa4b198beec80113339b4d7c66">PingServer</a> () const </td></tr>
<tr class="memdesc:aca1455fa4b198beec80113339b4d7c66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs a round trip call to the server to confirm that the connection to the server is still valid.  <a href="#aca1455fa4b198beec80113339b4d7c66">More...</a><br /></td></tr>
<tr class="separator:aca1455fa4b198beec80113339b4d7c66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d24a2f780e182f346c7e0289e0c164d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a8d24a2f780e182f346c7e0289e0c164d">GetConnectionString</a> () const </td></tr>
<tr class="memdesc:a8d24a2f780e182f346c7e0289e0c164d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the connected database/service name.  <a href="#a8d24a2f780e182f346c7e0289e0c164d">More...</a><br /></td></tr>
<tr class="separator:a8d24a2f780e182f346c7e0289e0c164d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a547e146800ed34085827e655d65b5edf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a547e146800ed34085827e655d65b5edf">GetUserName</a> () const </td></tr>
<tr class="memdesc:a547e146800ed34085827e655d65b5edf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the current logged user name.  <a href="#a547e146800ed34085827e655d65b5edf">More...</a><br /></td></tr>
<tr class="separator:a547e146800ed34085827e655d65b5edf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3f79a7122cd92fc1b59b4b9a78524b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#ac3f79a7122cd92fc1b59b4b9a78524b8">GetPassword</a> () const </td></tr>
<tr class="memdesc:ac3f79a7122cd92fc1b59b4b9a78524b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the current logged user password.  <a href="#ac3f79a7122cd92fc1b59b4b9a78524b8">More...</a><br /></td></tr>
<tr class="separator:ac3f79a7122cd92fc1b59b4b9a78524b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a677c2d678d56f2d10ae3b78ab5c087c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a677c2d678d56f2d10ae3b78ab5c087c8">GetServerVersion</a> () const </td></tr>
<tr class="memdesc:a677c2d678d56f2d10ae3b78ab5c087c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the connected database server string version.  <a href="#a677c2d678d56f2d10ae3b78ab5c087c8">More...</a><br /></td></tr>
<tr class="separator:a677c2d678d56f2d10ae3b78ab5c087c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c421913ed279d8fc0c1bbfcfe22f972"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a4f6fb5fb66ef0e1ffdeac563eb4379c4">OracleVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a6c421913ed279d8fc0c1bbfcfe22f972">GetVersion</a> () const </td></tr>
<tr class="memdesc:a6c421913ed279d8fc0c1bbfcfe22f972"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the Oracle version supported by the connection.  <a href="#a6c421913ed279d8fc0c1bbfcfe22f972">More...</a><br /></td></tr>
<tr class="separator:a6c421913ed279d8fc0c1bbfcfe22f972"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41ebe16ee04ad901747a9fa090dc251b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41ebe16ee04ad901747a9fa090dc251b"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a41ebe16ee04ad901747a9fa090dc251b">GetServerMajorVersion</a> () const </td></tr>
<tr class="memdesc:a41ebe16ee04ad901747a9fa090dc251b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the major version number of the connected database server. <br /></td></tr>
<tr class="separator:a41ebe16ee04ad901747a9fa090dc251b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ba2c35950bb8a3416150190079038fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7ba2c35950bb8a3416150190079038fe"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a7ba2c35950bb8a3416150190079038fe">GetServerMinorVersion</a> () const </td></tr>
<tr class="memdesc:a7ba2c35950bb8a3416150190079038fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the minor version number of the connected database server. <br /></td></tr>
<tr class="separator:a7ba2c35950bb8a3416150190079038fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c6217b406bf764707cb9e179400128a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6c6217b406bf764707cb9e179400128a"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a6c6217b406bf764707cb9e179400128a">GetServerRevisionVersion</a> () const </td></tr>
<tr class="memdesc:a6c6217b406bf764707cb9e179400128a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the revision version number of the connected database server. <br /></td></tr>
<tr class="separator:a6c6217b406bf764707cb9e179400128a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70f19966b317e6518a8bc710b9f0d3da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a70f19966b317e6518a8bc710b9f0d3da">ChangePassword</a> (const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;newPwd)</td></tr>
<tr class="memdesc:a70f19966b317e6518a8bc710b9f0d3da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the password of the logged user.  <a href="#a70f19966b317e6518a8bc710b9f0d3da">More...</a><br /></td></tr>
<tr class="separator:a70f19966b317e6518a8bc710b9f0d3da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7118726e414570ec71bbf23d89a173f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7118726e414570ec71bbf23d89a173f4"></a>
<a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a7118726e414570ec71bbf23d89a173f4">GetSessionTag</a> () const </td></tr>
<tr class="memdesc:a7118726e414570ec71bbf23d89a173f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the tag associated with the given connection. <br /></td></tr>
<tr class="separator:a7118726e414570ec71bbf23d89a173f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0219e7f6c011ca24f849687e17496339"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a0219e7f6c011ca24f849687e17496339">SetSessionTag</a> (const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;tag)</td></tr>
<tr class="memdesc:a0219e7f6c011ca24f849687e17496339"><td class="mdescLeft">&#160;</td><td class="mdescRight">Associate a tag to the given connection/session.  <a href="#a0219e7f6c011ca24f849687e17496339">More...</a><br /></td></tr>
<tr class="separator:a0219e7f6c011ca24f849687e17496339"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a577b98fc350afc82a0d0fb16dec49c5a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a577b98fc350afc82a0d0fb16dec49c5a"></a>
<a class="el" href="classocilib_1_1_transaction.html">Transaction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a577b98fc350afc82a0d0fb16dec49c5a">GetTransaction</a> () const </td></tr>
<tr class="memdesc:a577b98fc350afc82a0d0fb16dec49c5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the current transaction of the connection. <br /></td></tr>
<tr class="separator:a577b98fc350afc82a0d0fb16dec49c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabc3f94e651e8bd02051b2fe0adb9bd7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#aabc3f94e651e8bd02051b2fe0adb9bd7">SetTransaction</a> (const <a class="el" href="classocilib_1_1_transaction.html">Transaction</a> &amp;transaction)</td></tr>
<tr class="memdesc:aabc3f94e651e8bd02051b2fe0adb9bd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a transaction to a connection.  <a href="#aabc3f94e651e8bd02051b2fe0adb9bd7">More...</a><br /></td></tr>
<tr class="separator:aabc3f94e651e8bd02051b2fe0adb9bd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d160d4250e24a9c4ca510eb1727b3dd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a0d160d4250e24a9c4ca510eb1727b3dd">SetFormat</a> (<a class="el" href="namespaceocilib.html#ae56e43800b44304cec0e0f8997701572">FormatType</a> formatType, const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;format)</td></tr>
<tr class="memdesc:a0d160d4250e24a9c4ca510eb1727b3dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the format string for implicit string conversions of the given type.  <a href="#a0d160d4250e24a9c4ca510eb1727b3dd">More...</a><br /></td></tr>
<tr class="separator:a0d160d4250e24a9c4ca510eb1727b3dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af121e98b6393fb6e2a63b2c23194be14"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#af121e98b6393fb6e2a63b2c23194be14">GetFormat</a> (<a class="el" href="namespaceocilib.html#ae56e43800b44304cec0e0f8997701572">FormatType</a> formatType)</td></tr>
<tr class="memdesc:af121e98b6393fb6e2a63b2c23194be14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the format string for implicit string conversions of the given type.  <a href="#af121e98b6393fb6e2a63b2c23194be14">More...</a><br /></td></tr>
<tr class="separator:af121e98b6393fb6e2a63b2c23194be14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43eb6879fc41ddc0dc790ed0793e2c47"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a43eb6879fc41ddc0dc790ed0793e2c47">EnableServerOutput</a> (unsigned int bufsize, unsigned int arrsize, unsigned int lnsize)</td></tr>
<tr class="memdesc:a43eb6879fc41ddc0dc790ed0793e2c47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the server output.  <a href="#a43eb6879fc41ddc0dc790ed0793e2c47">More...</a><br /></td></tr>
<tr class="separator:a43eb6879fc41ddc0dc790ed0793e2c47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dbac14acd330f73defd8bc9c8ea6a63"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a5dbac14acd330f73defd8bc9c8ea6a63">DisableServerOutput</a> ()</td></tr>
<tr class="memdesc:a5dbac14acd330f73defd8bc9c8ea6a63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the server output.  <a href="#a5dbac14acd330f73defd8bc9c8ea6a63">More...</a><br /></td></tr>
<tr class="separator:a5dbac14acd330f73defd8bc9c8ea6a63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa20212250b93efe1064cbc183e1e4c27"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#aa20212250b93efe1064cbc183e1e4c27">GetServerOutput</a> (<a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;line) const </td></tr>
<tr class="memdesc:aa20212250b93efe1064cbc183e1e4c27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve one line of the server buffer.  <a href="#aa20212250b93efe1064cbc183e1e4c27">More...</a><br /></td></tr>
<tr class="separator:aa20212250b93efe1064cbc183e1e4c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a378a139c3a740a10b5d99a4dfdf42b8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a378a139c3a740a10b5d99a4dfdf42b8a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a378a139c3a740a10b5d99a4dfdf42b8a">GetServerOutput</a> (std::vector&lt; <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &gt; &amp;lines) const </td></tr>
<tr class="memdesc:a378a139c3a740a10b5d99a4dfdf42b8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve all remaining lines of the server buffer. <br /></td></tr>
<tr class="separator:a378a139c3a740a10b5d99a4dfdf42b8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98d7c8767b911e2a386f664344a529b9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a98d7c8767b911e2a386f664344a529b9">SetTrace</a> (<a class="el" href="classocilib_1_1_connection.html#a721d1de749a6e6849b30928c2227556c">SessionTrace</a> trace, const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;value)</td></tr>
<tr class="memdesc:a98d7c8767b911e2a386f664344a529b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set tracing information for the session.  <a href="#a98d7c8767b911e2a386f664344a529b9">More...</a><br /></td></tr>
<tr class="separator:a98d7c8767b911e2a386f664344a529b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a898157c2342ee20f33ba11e7ced4aee2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a898157c2342ee20f33ba11e7ced4aee2">GetTrace</a> (<a class="el" href="classocilib_1_1_connection.html#a721d1de749a6e6849b30928c2227556c">SessionTrace</a> trace) const </td></tr>
<tr class="memdesc:a898157c2342ee20f33ba11e7ced4aee2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current trace for the trace type from the given connection.  <a href="#a898157c2342ee20f33ba11e7ced4aee2">More...</a><br /></td></tr>
<tr class="separator:a898157c2342ee20f33ba11e7ced4aee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0371d668798d5be4bbbf9a92c5cd8ec7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a0371d668798d5be4bbbf9a92c5cd8ec7">GetDatabase</a> () const </td></tr>
<tr class="memdesc:a0371d668798d5be4bbbf9a92c5cd8ec7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the Oracle server database name of the connected database/service name.  <a href="#a0371d668798d5be4bbbf9a92c5cd8ec7">More...</a><br /></td></tr>
<tr class="separator:a0371d668798d5be4bbbf9a92c5cd8ec7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa80401366bad2f02f03b33ee4ef2e0c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#aa80401366bad2f02f03b33ee4ef2e0c5">GetInstance</a> () const </td></tr>
<tr class="memdesc:aa80401366bad2f02f03b33ee4ef2e0c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the Oracle server Instance name of the connected database/service name.  <a href="#aa80401366bad2f02f03b33ee4ef2e0c5">More...</a><br /></td></tr>
<tr class="separator:aa80401366bad2f02f03b33ee4ef2e0c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36739f2d3c47b835ad630e14e3c3473f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a36739f2d3c47b835ad630e14e3c3473f">GetService</a> () const </td></tr>
<tr class="memdesc:a36739f2d3c47b835ad630e14e3c3473f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the Oracle server Service name of the connected database/service name.  <a href="#a36739f2d3c47b835ad630e14e3c3473f">More...</a><br /></td></tr>
<tr class="separator:a36739f2d3c47b835ad630e14e3c3473f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af609bb506df0fa08691f54fe1716796e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#af609bb506df0fa08691f54fe1716796e">GetServer</a> () const </td></tr>
<tr class="memdesc:af609bb506df0fa08691f54fe1716796e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the Oracle server Hos name of the connected database/service name.  <a href="#af609bb506df0fa08691f54fe1716796e">More...</a><br /></td></tr>
<tr class="separator:af609bb506df0fa08691f54fe1716796e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79e142869411757b0767390bae96c68d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a79e142869411757b0767390bae96c68d">GetDomain</a> () const </td></tr>
<tr class="memdesc:a79e142869411757b0767390bae96c68d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the Oracle server Domain name of the connected database/service name.  <a href="#a79e142869411757b0767390bae96c68d">More...</a><br /></td></tr>
<tr class="separator:a79e142869411757b0767390bae96c68d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1de53be0f86bcf1bff41d7fc298677e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocilib_1_1_timestamp.html">Timestamp</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#af1de53be0f86bcf1bff41d7fc298677e">GetInstanceStartTime</a> () const </td></tr>
<tr class="memdesc:af1de53be0f86bcf1bff41d7fc298677e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the date and time (<a class="el" href="classocilib_1_1_timestamp.html" title="Object identifying the SQL data type TIMESTAMP. ">Timestamp</a>) server instance start of the.  <a href="#af1de53be0f86bcf1bff41d7fc298677e">More...</a><br /></td></tr>
<tr class="separator:af1de53be0f86bcf1bff41d7fc298677e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d6e64138627d6fc7d2b6c2173edbff1"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a6d6e64138627d6fc7d2b6c2173edbff1">GetStatementCacheSize</a> () const </td></tr>
<tr class="memdesc:a6d6e64138627d6fc7d2b6c2173edbff1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the maximum number of statements to keep in the statement cache.  <a href="#a6d6e64138627d6fc7d2b6c2173edbff1">More...</a><br /></td></tr>
<tr class="separator:a6d6e64138627d6fc7d2b6c2173edbff1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a633a95c4ccba6b647df22c678db63cf5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a633a95c4ccba6b647df22c678db63cf5">SetStatementCacheSize</a> (unsigned int value)</td></tr>
<tr class="memdesc:a633a95c4ccba6b647df22c678db63cf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum number of statements to keep in the statement cache.  <a href="#a633a95c4ccba6b647df22c678db63cf5">More...</a><br /></td></tr>
<tr class="separator:a633a95c4ccba6b647df22c678db63cf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11e9d5c123ffb236d9718613e68a732b"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a11e9d5c123ffb236d9718613e68a732b">GetDefaultLobPrefetchSize</a> () const </td></tr>
<tr class="memdesc:a11e9d5c123ffb236d9718613e68a732b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the default LOB prefetch buffer size for the connection.  <a href="#a11e9d5c123ffb236d9718613e68a732b">More...</a><br /></td></tr>
<tr class="separator:a11e9d5c123ffb236d9718613e68a732b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7974876422e8ecd7f566091eb926313d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a7974876422e8ecd7f566091eb926313d">SetDefaultLobPrefetchSize</a> (unsigned int value)</td></tr>
<tr class="memdesc:a7974876422e8ecd7f566091eb926313d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable or disable prefetching for all LOBs fetched in the connection.  <a href="#a7974876422e8ecd7f566091eb926313d">More...</a><br /></td></tr>
<tr class="separator:a7974876422e8ecd7f566091eb926313d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6423a7725cb1dfbff3bfdc4bcdf792e"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#ab6423a7725cb1dfbff3bfdc4bcdf792e">GetMaxCursors</a> () const </td></tr>
<tr class="memdesc:ab6423a7725cb1dfbff3bfdc4bcdf792e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the maximum number of SQL statements that can be opened in one session.  <a href="#ab6423a7725cb1dfbff3bfdc4bcdf792e">More...</a><br /></td></tr>
<tr class="separator:ab6423a7725cb1dfbff3bfdc4bcdf792e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb1b9159abfed7f5fca45a33a421680a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#acb1b9159abfed7f5fca45a33a421680a">IsTAFCapable</a> () const </td></tr>
<tr class="memdesc:acb1b9159abfed7f5fca45a33a421680a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify if the connection support TAF events.  <a href="#acb1b9159abfed7f5fca45a33a421680a">More...</a><br /></td></tr>
<tr class="separator:acb1b9159abfed7f5fca45a33a421680a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e83ffbf5d12d6fad2abc6c0ec72d5e7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a6e83ffbf5d12d6fad2abc6c0ec72d5e7">SetTAFHandler</a> (<a class="el" href="classocilib_1_1_connection.html#a5e5c2e19a29bfedc7d0ea538884eea31">TAFHandlerProc</a> handler)</td></tr>
<tr class="memdesc:a6e83ffbf5d12d6fad2abc6c0ec72d5e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Transparent Application Failover (TAF) user handler.  <a href="#a6e83ffbf5d12d6fad2abc6c0ec72d5e7">More...</a><br /></td></tr>
<tr class="separator:a6e83ffbf5d12d6fad2abc6c0ec72d5e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4758404a8195d8f32bf71a98f53d0a35"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4758404a8195d8f32bf71a98f53d0a35"></a>
<a class="el" href="namespaceocilib.html#aaad26690e8171c4564d66776987e1bd2">AnyPointer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a4758404a8195d8f32bf71a98f53d0a35">GetUserData</a> ()</td></tr>
<tr class="memdesc:a4758404a8195d8f32bf71a98f53d0a35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the pointer to user data previously associated with the connection. <br /></td></tr>
<tr class="separator:a4758404a8195d8f32bf71a98f53d0a35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a290370df27e4e843fc01fd1c9396ba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classocilib_1_1_connection.html#a9a290370df27e4e843fc01fd1c9396ba">SetUserData</a> (<a class="el" href="namespaceocilib.html#aaad26690e8171c4564d66776987e1bd2">AnyPointer</a> value)</td></tr>
<tr class="memdesc:a9a290370df27e4e843fc01fd1c9396ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Associate a pointer to user data to the given connection.  <a href="#a9a290370df27e4e843fc01fd1c9396ba">More...</a><br /></td></tr>
<tr class="separator:a9a290370df27e4e843fc01fd1c9396ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A connection or session with a specific database. </p>
<p>This class wraps the OCILIB object handle OCI_Connection and its related methods </p>

<p>Definition at line <a class="el" href="ocilib_8hpp_source.html#l01660">1660</a> of file <a class="el" href="ocilib_8hpp_source.html">ocilib.hpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a2d463d1a09bef7ceeb8b18c0c880ab95"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classocilib_1_1_enum.html">Enum</a>&lt;<a class="el" href="classocilib_1_1_connection.html#a8e6889724f15cc94b14a0d161c01b7c2">FailoverRequestValues</a>&gt; <a class="el" href="classocilib_1_1_connection.html#a2d463d1a09bef7ceeb8b18c0c880ab95">ocilib::Connection::FailoverRequest</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Failover requests. </p>
<p>Possible values are <a class="el" href="classocilib_1_1_connection.html#a8e6889724f15cc94b14a0d161c01b7c2" title="Failover request enumerated values. ">Connection::FailoverRequestValues</a> </p>

<p>Definition at line <a class="el" href="ocilib_8hpp_source.html#l01700">1700</a> of file <a class="el" href="ocilib_8hpp_source.html">ocilib.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a474638b06cc140cde3b6cb7bc8212ae5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classocilib_1_1_enum.html">Enum</a>&lt;<a class="el" href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9">FailoverEventValues</a>&gt; <a class="el" href="classocilib_1_1_connection.html#a474638b06cc140cde3b6cb7bc8212ae5">ocilib::Connection::FailoverEvent</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Failover events. </p>
<p>Possible values are <a class="el" href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9" title="Failover events enumerated values. ">Connection::FailoverEventValues</a> </p>

<p>Definition at line <a class="el" href="ocilib_8hpp_source.html#l01728">1728</a> of file <a class="el" href="ocilib_8hpp_source.html">ocilib.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4d2ea6149d4d38adaef41bfc98950676"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classocilib_1_1_enum.html">Enum</a>&lt;<a class="el" href="classocilib_1_1_connection.html#ad7d48faf0f7dd59bc08120882ce1eac6">FailoverResultValues</a>&gt; <a class="el" href="classocilib_1_1_connection.html#a4d2ea6149d4d38adaef41bfc98950676">ocilib::Connection::FailoverResult</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Failover callback results. </p>
<p>Possible values are <a class="el" href="classocilib_1_1_connection.html#ad7d48faf0f7dd59bc08120882ce1eac6" title="Failover callback results enumerated values. ">Connection::FailoverResultValues</a> </p>

<p>Definition at line <a class="el" href="ocilib_8hpp_source.html#l01750">1750</a> of file <a class="el" href="ocilib_8hpp_source.html">ocilib.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a721d1de749a6e6849b30928c2227556c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classocilib_1_1_enum.html">Enum</a>&lt;<a class="el" href="classocilib_1_1_connection.html#aaa8c5b75fa417fbf2838c8a87976e773">SessionTraceValues</a>&gt; <a class="el" href="classocilib_1_1_connection.html#a721d1de749a6e6849b30928c2227556c">ocilib::Connection::SessionTrace</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Session traces. </p>
<p>Possible values are <a class="el" href="classocilib_1_1_connection.html#aaa8c5b75fa417fbf2838c8a87976e773" title="Session trace enumerated values. ">Connection::SessionTraceValues</a> </p>

<p>Definition at line <a class="el" href="ocilib_8hpp_source.html#l01776">1776</a> of file <a class="el" href="ocilib_8hpp_source.html">ocilib.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a8e6889724f15cc94b14a0d161c01b7c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classocilib_1_1_connection.html#a8e6889724f15cc94b14a0d161c01b7c2">ocilib::Connection::FailoverRequestValues</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Failover request enumerated values. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a8e6889724f15cc94b14a0d161c01b7c2a619c9f1d1b8c4a09db5d1b578659f12f"></a>FailoverRequestSession&#160;</td><td class="fielddoc">
<p>User has requested only session failover </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a8e6889724f15cc94b14a0d161c01b7c2a40840e32dce71d774497122c71128897"></a>FailoverRequestSelect&#160;</td><td class="fielddoc">
<p>User has requested select failover as well </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ocilib_8hpp_source.html#l01685">1685</a> of file <a class="el" href="ocilib_8hpp_source.html">ocilib.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4b5f2fc31fda9512a162278e415aa1b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classocilib_1_1_connection.html#a4b5f2fc31fda9512a162278e415aa1b9">ocilib::Connection::FailoverEventValues</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Failover events enumerated values. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a4b5f2fc31fda9512a162278e415aa1b9a86c0223a3260f90eddc45f80983f79cc"></a>FailoverEventEnd&#160;</td><td class="fielddoc">
<p>Successful completion of failover </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a4b5f2fc31fda9512a162278e415aa1b9aa8515722f8663c4f4519efd2b699c65c"></a>FailoverEventAbort&#160;</td><td class="fielddoc">
<p>Failover was unsuccessful. Retrying is not allowed </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a4b5f2fc31fda9512a162278e415aa1b9a3758116bab27d17612945acb570e5751"></a>FailoverEventReauthentificate&#160;</td><td class="fielddoc">
<p>Multiple authentication and failover has occurred after the original authentication. User has been re authenticated </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a4b5f2fc31fda9512a162278e415aa1b9aeff6e1407fad20574cb42d64296622ef"></a>FailoverEventBegin&#160;</td><td class="fielddoc">
<p>Failover has detected a lost connection and failover is starting </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a4b5f2fc31fda9512a162278e415aa1b9a6090e3353d0f3bbf41462178cc58e370"></a>FailoverEventError&#160;</td><td class="fielddoc">
<p>Failover was unsuccessful. Retrying is allowed </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ocilib_8hpp_source.html#l01707">1707</a> of file <a class="el" href="ocilib_8hpp_source.html">ocilib.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad7d48faf0f7dd59bc08120882ce1eac6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classocilib_1_1_connection.html#ad7d48faf0f7dd59bc08120882ce1eac6">ocilib::Connection::FailoverResultValues</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Failover callback results enumerated values. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ad7d48faf0f7dd59bc08120882ce1eac6a633eb194a9c1f830eeb454dbf6a4e575"></a>FailoverOk&#160;</td><td class="fielddoc">
<p>Default acknowledgment of a failover event </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ad7d48faf0f7dd59bc08120882ce1eac6aefdb7cd1716e296fb534c8203c4a738d"></a>FailoverRetry&#160;</td><td class="fielddoc">
<p>Triggers a new failover attempt </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ocilib_8hpp_source.html#l01735">1735</a> of file <a class="el" href="ocilib_8hpp_source.html">ocilib.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="aaa8c5b75fa417fbf2838c8a87976e773"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classocilib_1_1_connection.html#aaa8c5b75fa417fbf2838c8a87976e773">ocilib::Connection::SessionTraceValues</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Session trace enumerated values. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aaa8c5b75fa417fbf2838c8a87976e773af907bdf8e5e90c8685d807304fedbece"></a>TraceIdentity&#160;</td><td class="fielddoc">
<p>Specifies the user defined identifier in the session. It's recorded in the column CLIENT_IDENTIFIER of the system view V$SESSION </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aaa8c5b75fa417fbf2838c8a87976e773a58b108dca8e0d10271a1febbd7b94039"></a>TraceModule&#160;</td><td class="fielddoc">
<p>Name of the current module in the client application. It's recorded in the column MODULE of the system view V$SESSION </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aaa8c5b75fa417fbf2838c8a87976e773a56b9822268d5cf4e867b7f9d9581eeee"></a>TraceAction&#160;</td><td class="fielddoc">
<p>Name of the current action within the current module. It's recorded in the column ACTION of the system view V$SESSION </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aaa8c5b75fa417fbf2838c8a87976e773aaf3f29ef47bc042b7284a5acee812067"></a>TraceDetail&#160;</td><td class="fielddoc">
<p>Client application additional information. It's recorded in the column CLIENT_INFO of the system view V$SESSION </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ocilib_8hpp_source.html#l01757">1757</a> of file <a class="el" href="ocilib_8hpp_source.html">ocilib.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a17e5724fb706aecb77d2fe246862e035"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ocilib::Connection::Connection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>db</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>user</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>pwd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classocilib_1_1_environment.html#a2a210fdb61cd76e707f01f449b5281b7">Environment::SessionFlags</a>&#160;</td>
          <td class="paramname"><em>sessionFlags</em> = <code><a class="el" href="classocilib_1_1_environment.html#ac583b9f6d4fd1da0282afe6e8fb774aeaafa2fca26ddd12a45b9f5e2972f41c27">Environment::SessionDefault</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor that creates an opens an underlying DB connection with the given information. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">db</td><td>- Oracle Service Name </td></tr>
    <tr><td class="paramname">user</td><td>- Oracle User name </td></tr>
    <tr><td class="paramname">pwd</td><td>- Oracle User password </td></tr>
    <tr><td class="paramname">sessionFlags</td><td>- Session <a class="el" href="classocilib_1_1_flags.html" title="Template Flags template class providing some type safety to some extends for manipulating flags set v...">Flags</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>it calls <a class="el" href="classocilib_1_1_connection.html#a7cb9e2d4c98a3753325f88504c311be3" title="Create a physical connection to an Oracle database server. ">Open()</a> with the given parameters </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01333">1333</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="classocilib_1_1_connection.html#a7cb9e2d4c98a3753325f88504c311be3">Open()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a7cb9e2d4c98a3753325f88504c311be3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::Open </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>db</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>user</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>pwd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classocilib_1_1_environment.html#a2a210fdb61cd76e707f01f449b5281b7">Environment::SessionFlags</a>&#160;</td>
          <td class="paramname"><em>sessionFlags</em> = <code><a class="el" href="classocilib_1_1_environment.html#ac583b9f6d4fd1da0282afe6e8fb774aeaafa2fca26ddd12a45b9f5e2972f41c27">Environment::SessionDefault</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a physical connection to an Oracle database server. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">db</td><td>- Oracle Service Name </td></tr>
    <tr><td class="paramname">user</td><td>- Oracle User name </td></tr>
    <tr><td class="paramname">pwd</td><td>- Oracle User password </td></tr>
    <tr><td class="paramname">sessionFlags</td><td>- Session <a class="el" href="classocilib_1_1_flags.html" title="Template Flags template class providing some type safety to some extends for manipulating flags set v...">Flags</a><ul>
<li></li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>External credentials are supported by supplying an empty string for the 'user' and 'pwd' parameters If the param 'db' is empty then a connection to the default local DB is done</dd></dl>
<dl class="section user"><dt>Oracle XA support</dt><dd>OCILIB supports Oracle XA connectivity. In order to get a connection using the XA interface :<ul>
<li>For parameter 'db' : pass the value of the 'DB' parameter of the given XA connection string passed to the <a class="el" href="classocilib_1_1_transaction.html" title="Oracle Transaction object. ">Transaction</a> Processing Monitor (TPM)</li>
<li>Pass empty strings for 'user' and 'pwd' parameters</li>
<li>Use SessionFlags::SessionXa for parameter 'sessionFlags'</li>
</ul>
</dd></dl>
<dl class="section user"><dt>Oracle XA Connection String</dt><dd></dd></dl>
<p>The XA connection string used in a transaction monitor to connect to Oracle must be compatible with OCILIB :</p><ul>
<li>the XA parameter 'Objects' MUST be set to 'true'</li>
<li>If EnvMode::Threaded is passed to <a class="el" href="classocilib_1_1_environment.html#a83613d62908717ddf7d0ac797d63120a" title="Initialize the OCILIB environment. ">Environment::Initialize()</a>, the XA parameter 'Threads' must be set to 'true', otherwise to 'false'</li>
<li>If EnvMode::Events is passed to <a class="el" href="classocilib_1_1_environment.html#a83613d62908717ddf7d0ac797d63120a" title="Initialize the OCILIB environment. ">Environment::Initialize()</a>, the XA parameter 'Events' must be set to 'true', otherwise to 'false'</li>
<li>As Oracle does not support Unicode UTF16 character set through the XA interface, Only OCI_CHARSET_ANSI builds of OCILIB can be used</li>
<li>You still can use UTF8 if the NLS_LANG environment variable is set with a valid UTF8 NLS value</li>
<li>DO NOT USE UNICODE OCILIB builds with XA connections</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>On success, a local transaction is automatically created and started ONLY for regular standalone connections and connections retrieved from connection pools. No transaction is created for a XA connection or q connection retrieved from session pools. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01343">1343</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="group___ocilib_c_api_connections.html#ga5cd867ad94bdc4a3bbfdef24452262e0">OCI_ConnectionCreate()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gac3fe655e96074adb119908be4650a4c9">OCI_ConnectionFree()</a>.</p>

<p>Referenced by <a class="el" href="classocilib_1_1_connection.html#a17e5724fb706aecb77d2fe246862e035">Connection()</a>.</p>

</div>
</div>
<a class="anchor" id="a234a2ef41d73c687a010c55d5ade874e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::Break </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Perform an immediate abort of any currently Oracle OCI call on the given connection. </p>
<dl class="section note"><dt>Note</dt><dd>The current call will abort and will raise an exception </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01364">1364</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_abort.html#gaf34a39ddfb3b6677eab1add1a4052e4d">OCI_Break()</a>.</p>

</div>
</div>
<a class="anchor" id="a8e6f6ed2cf7556ed33f142ab6a603526"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::SetAutoCommit </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Enable or disable auto commit mode (implicit commits after every SQL execution) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">enabled</td><td>- auto commit new status </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01369">1369</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_transactions.html#ga8a21e8ab3893ae71ff8d8f6c9795566d">OCI_SetAutoCommit()</a>.</p>

</div>
</div>
<a class="anchor" id="af9878c6bc9763de6b09906054a1e8570"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ocilib::Connection::IsServerAlive </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Indicate if the connection is still connected to the server. </p>
<dl class="section note"><dt>Note</dt><dd>the returned value is not real-time and is based on client library last heart beat status </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01379">1379</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gaaa13dc7489eeebcc6bd2a54fb88248b7">OCI_IsConnected()</a>.</p>

</div>
</div>
<a class="anchor" id="aca1455fa4b198beec80113339b4d7c66"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ocilib::Connection::PingServer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Performs a round trip call to the server to confirm that the connection to the server is still valid. </p>
<dl class="section warning"><dt>Warning</dt><dd>This call is supported from Oracle 10g. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01384">1384</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gaa4a9ff378dba28920b81b8b71e2372f5">OCI_Ping()</a>.</p>

</div>
</div>
<a class="anchor" id="a8d24a2f780e182f346c7e0289e0c164d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetConnectionString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the name of the connected database/service name. </p>
<dl class="section note"><dt>Note</dt><dd>The returned value is the value of the 'db' parameter of the <a class="el" href="classocilib_1_1_connection.html#a7cb9e2d4c98a3753325f88504c311be3" title="Create a physical connection to an Oracle database server. ">Open()</a> method </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01389">1389</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="namespaceocilib.html#a5cd1f7bf7b526707a602632ac2d657f0">ocilib::MakeString()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga644896376cffbd498d928bec9ba4b379">OCI_GetDatabase()</a>.</p>

</div>
</div>
<a class="anchor" id="a547e146800ed34085827e655d65b5edf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetUserName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the current logged user name. </p>
<dl class="section note"><dt>Note</dt><dd>The returned value is the value of the 'user' parameter of the <a class="el" href="classocilib_1_1_connection.html#a7cb9e2d4c98a3753325f88504c311be3" title="Create a physical connection to an Oracle database server. ">Open()</a> method </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01394">1394</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="namespaceocilib.html#a5cd1f7bf7b526707a602632ac2d657f0">ocilib::MakeString()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga1c74d8d264e9911b19810518567451b3">OCI_GetUserName()</a>.</p>

</div>
</div>
<a class="anchor" id="ac3f79a7122cd92fc1b59b4b9a78524b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetPassword </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the current logged user password. </p>
<dl class="section note"><dt>Note</dt><dd>The returned value is the value of the 'pwd' parameter of the <a class="el" href="classocilib_1_1_connection.html#a7cb9e2d4c98a3753325f88504c311be3" title="Create a physical connection to an Oracle database server. ">Open()</a> method </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01399">1399</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="namespaceocilib.html#a5cd1f7bf7b526707a602632ac2d657f0">ocilib::MakeString()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga23176f3b177958f3422888b1dc986194">OCI_GetPassword()</a>.</p>

</div>
</div>
<a class="anchor" id="a677c2d678d56f2d10ae3b78ab5c087c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetServerVersion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the connected database server string version. </p>
<dl class="section note"><dt>Note</dt><dd>The returned value is the server version banner displayed by SQL*PLUS when connected to a DB server </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01409">1409</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="namespaceocilib.html#a5cd1f7bf7b526707a602632ac2d657f0">ocilib::MakeString()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gab7016c85bd29c1fa9ba5d980da2b615c">OCI_GetVersionServer()</a>.</p>

</div>
</div>
<a class="anchor" id="a6c421913ed279d8fc0c1bbfcfe22f972"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a4f6fb5fb66ef0e1ffdeac563eb4379c4">OracleVersion</a> ocilib::Connection::GetVersion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the Oracle version supported by the connection. </p>
<dl class="section note"><dt>Note</dt><dd>The supported version is the lower version between client and server: </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01404">1404</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga6f61147801fce4b69edb4981ba4ea1b7">OCI_GetVersionConnection()</a>.</p>

</div>
</div>
<a class="anchor" id="a70f19966b317e6518a8bc710b9f0d3da"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::ChangePassword </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>newPwd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Change the password of the logged user. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newPwd</td><td>- New password </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01429">1429</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga3a98bd2c7fc31d9884309a16a07dd539">OCI_SetPassword()</a>.</p>

</div>
</div>
<a class="anchor" id="a0219e7f6c011ca24f849687e17496339"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::SetSessionTag </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>tag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Associate a tag to the given connection/session. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tag</td><td>- user tag string</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Use this call only for connections retrieved from a session pool See <a class="el" href="classocilib_1_1_pool.html#a0b49ae68d9484fbb6048cea29635f402" title="Get a connection from the pool. ">Pool::GetConnection()</a> for more details</dd>
<dd>
To untag a session, call <a class="el" href="classocilib_1_1_connection.html#a0219e7f6c011ca24f849687e17496339" title="Associate a tag to the given connection/session. ">SetSessionTag()</a> with an empty 'tag' parameter </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01439">1439</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga0fb3f55bfe0ca869cac6f356f7da5dfe">OCI_SetSessionTag()</a>.</p>

</div>
</div>
<a class="anchor" id="aabc3f94e651e8bd02051b2fe0adb9bd7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::SetTransaction </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classocilib_1_1_transaction.html">Transaction</a> &amp;&#160;</td>
          <td class="paramname"><em>transaction</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set a transaction to a connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">transaction</td><td>- <a class="el" href="classocilib_1_1_transaction.html" title="Oracle Transaction object. ">Transaction</a> to assign</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The current transaction (if any) is automatically stopped but the newly assigned is not started or resumed</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>Do not set a transaction to a XA connection or a connection retrieved from a session pool </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01449">1449</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gacd5bcb0f0894ffcafcb6dfee5e850f5a">OCI_SetTransaction()</a>.</p>

</div>
</div>
<a class="anchor" id="a0d160d4250e24a9c4ca510eb1727b3dd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ocilib::Connection::SetFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceocilib.html#ae56e43800b44304cec0e0f8997701572">FormatType</a>&#160;</td>
          <td class="paramname"><em>formatType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>format</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the format string for implicit string conversions of the given type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">formatType</td><td>- Type of format </td></tr>
    <tr><td class="paramname">format</td><td>- Format string</td></tr>
  </table>
  </dd>
</dl>
<p>Formats can set at 2 levels:</p><ul>
<li><a class="el" href="classocilib_1_1_environment.html" title="Static class in charge of library initialization / cleanup. ">Environment</a> level</li>
<li><a class="el" href="classocilib_1_1_connection.html" title="A connection or session with a specific database. ">Connection</a> level</li>
</ul>
<p>When the library needs to perform a string conversion, it search for a valid format using the following order:</p><ul>
<li><a class="el" href="classocilib_1_1_connection.html" title="A connection or session with a specific database. ">Connection</a> format</li>
<li><a class="el" href="classocilib_1_1_environment.html" title="Static class in charge of library initialization / cleanup. ">Environment</a> format</li>
<li>Default format</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>Default format values are :<ul>
<li>OCI_FMT_DATE : constant OCI_STRING_FORMAT_DATE</li>
<li>OCI_FMT_TIMESTAMP : constant OCI_STRING_FORMAT_TIMESTAMP</li>
<li>OCI_FMT_NUMERIC : constant OCI_STRING_FORMAT_NUMERIC</li>
<li>OCI_FMT_BINARY_DOUBLE : constant OCI_STRING_FORMAT_BINARY_DOUBLE</li>
<li>OCI_FMT_BINARY FLOAT : constant OCI_STRING_FORMAT_BINARY_FLOAT</li>
</ul>
</dd>
<dd>
Conversions are performed by Oracle built-in functions whenever possible. For DATE, TIMESTAMP and numeric types, see documentation of Oracle SQL to_char() function for more details For BINARY_DOUBLE and BINARY_FLOAT, refer to the C Standard Library printf() family documentation </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01454">1454</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gade18954504b0d40e981e683f00d39951">OCI_SetFormat()</a>.</p>

</div>
</div>
<a class="anchor" id="af121e98b6393fb6e2a63b2c23194be14"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetFormat </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceocilib.html#ae56e43800b44304cec0e0f8997701572">FormatType</a>&#160;</td>
          <td class="paramname"><em>formatType</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the format string for implicit string conversions of the given type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">formatType</td><td>- Type of format</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>See <a class="el" href="classocilib_1_1_connection.html#a0d160d4250e24a9c4ca510eb1727b3dd" title="Set the format string for implicit string conversions of the given type. ">SetFormat()</a> for possible values </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01459">1459</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="namespaceocilib.html#a5cd1f7bf7b526707a602632ac2d657f0">ocilib::MakeString()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga4ed928994e00b49fe651b450d47baaf1">OCI_GetFormat()</a>.</p>

</div>
</div>
<a class="anchor" id="a43eb6879fc41ddc0dc790ed0793e2c47"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::EnableServerOutput </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>bufsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>arrsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>lnsize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Enable the server output. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bufsize</td><td>- server buffer max size (server side) </td></tr>
    <tr><td class="paramname">arrsize</td><td>- number of lines to retrieve per server round-trip </td></tr>
    <tr><td class="paramname">lnsize</td><td>- maximum size of one line</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This call is equivalent to the command 'set serveroutput on' in SQL*PLUS</dd>
<dd>
<ul>
<li>'bufsize' minimum value is 2000, maximum 1000000 with Oracle &lt; 10.2g and can be unlimited above</li>
<li>'lnsize' maximum value is 255 with Oracle &lt; 10g R2 and 32767 above</li>
</ul>
</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>If <a class="el" href="classocilib_1_1_connection.html#a43eb6879fc41ddc0dc790ed0793e2c47" title="Enable the server output. ">EnableServerOutput()</a> is not called, <a class="el" href="classocilib_1_1_connection.html#aa20212250b93efe1064cbc183e1e4c27" title="Retrieve one line of the server buffer. ">GetServerOutput()</a> will return false </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01464">1464</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_pl_sql.html#gaeff8f38ba15b9e757cec70d91e4ffe13">OCI_ServerEnableOutput()</a>.</p>

</div>
</div>
<a class="anchor" id="a5dbac14acd330f73defd8bc9c8ea6a63"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::DisableServerOutput </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Disable the server output. </p>
<dl class="section note"><dt>Note</dt><dd>After this call, <a class="el" href="classocilib_1_1_connection.html#aa20212250b93efe1064cbc183e1e4c27" title="Retrieve one line of the server buffer. ">GetServerOutput()</a> will return false. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01469">1469</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_pl_sql.html#ga0d3321a0abff0722baf6b2b7233f4cb5">OCI_ServerDisableOutput()</a>.</p>

</div>
</div>
<a class="anchor" id="aa20212250b93efe1064cbc183e1e4c27"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ocilib::Connection::GetServerOutput </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>line</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve one line of the server buffer. </p>
<dl class="section return"><dt>Returns</dt><dd>true if a line has been retrieved otherwise false (server buffer is empty or all lines have been retrieved) </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01474">1474</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="namespaceocilib.html#a5cd1f7bf7b526707a602632ac2d657f0">ocilib::MakeString()</a>, and <a class="el" href="group___ocilib_c_api_pl_sql.html#gaac2621ca13cc7a4e862ae8d93493f684">OCI_ServerGetOutput()</a>.</p>

</div>
</div>
<a class="anchor" id="a98d7c8767b911e2a386f664344a529b9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::SetTrace </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classocilib_1_1_connection.html#a721d1de749a6e6849b30928c2227556c">SessionTrace</a>&#160;</td>
          <td class="paramname"><em>trace</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set tracing information for the session. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">trace</td><td>- trace type </td></tr>
    <tr><td class="paramname">value</td><td>- trace content</td></tr>
  </table>
  </dd>
</dl>
<p>Store current trace information to the given connection handle. These information:</p>
<ul>
<li>is stored in the system view V$SESSION</li>
<li>can be retrieved from the connection property of an OCI_Error handle</li>
</ul>
<p>system view V$SESSION</p>
<dl class="section warning"><dt>Warning</dt><dd>The system view V$SESSION is updated on Oracle versions &gt;= 10g</dd>
<dd>
Oracle limits the size of these traces content and thus OCILIB will truncate the given values if needed :</dd></dl>
<ul>
<li>TraceIdentity : 64 bytes</li>
<li>TraceModule : 48 bytes</li>
<li>TraceAction : 32 bytes</li>
<li>TraceDetail : 64 bytes </li>
</ul>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01494">1494</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gad7b3c1053b3324192089ab8289df3e57">OCI_SetTrace()</a>.</p>

</div>
</div>
<a class="anchor" id="a898157c2342ee20f33ba11e7ced4aee2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetTrace </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classocilib_1_1_connection.html#a721d1de749a6e6849b30928c2227556c">SessionTrace</a>&#160;</td>
          <td class="paramname"><em>trace</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the current trace for the trace type from the given connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">trace</td><td>- trace type</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>See <a class="el" href="classocilib_1_1_connection.html#a98d7c8767b911e2a386f664344a529b9" title="Set tracing information for the session. ">SetTrace()</a> for more details. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01499">1499</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="namespaceocilib.html#a5cd1f7bf7b526707a602632ac2d657f0">ocilib::MakeString()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga2744cf73d308f9d65f94fd695084ee76">OCI_GetTrace()</a>.</p>

</div>
</div>
<a class="anchor" id="a0371d668798d5be4bbbf9a92c5cd8ec7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetDatabase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the Oracle server database name of the connected database/service name. </p>
<dl class="section warning"><dt>Warning</dt><dd>This call is supported from Oracle 10gR2. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01504">1504</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="namespaceocilib.html#a5cd1f7bf7b526707a602632ac2d657f0">ocilib::MakeString()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga98877db184e1d8d5bf50be1fb6906dc2">OCI_GetDBName()</a>.</p>

</div>
</div>
<a class="anchor" id="aa80401366bad2f02f03b33ee4ef2e0c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetInstance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the Oracle server Instance name of the connected database/service name. </p>
<dl class="section warning"><dt>Warning</dt><dd>This call is supported from Oracle 10gR2. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01509">1509</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gac3ee48e0bfd6b606328bdbbd670cfdb0">OCI_GetInstanceName()</a>.</p>

</div>
</div>
<a class="anchor" id="a36739f2d3c47b835ad630e14e3c3473f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetService </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the Oracle server Service name of the connected database/service name. </p>
<dl class="section warning"><dt>Warning</dt><dd>This call is supported from Oracle 10gR2. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01514">1514</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="namespaceocilib.html#a5cd1f7bf7b526707a602632ac2d657f0">ocilib::MakeString()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gabf76c1f95bcfb75e8ce887c84642f14f">OCI_GetServiceName()</a>.</p>

</div>
</div>
<a class="anchor" id="af609bb506df0fa08691f54fe1716796e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetServer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the Oracle server Hos name of the connected database/service name. </p>
<dl class="section warning"><dt>Warning</dt><dd>This call is supported from Oracle 10gR2. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01519">1519</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gad34ea35e12ce6860ae2111e403ae0be5">OCI_GetServerName()</a>.</p>

</div>
</div>
<a class="anchor" id="a79e142869411757b0767390bae96c68d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceocilib.html#a01daa07e307e429b66fb80f442362237">ostring</a> ocilib::Connection::GetDomain </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the Oracle server Domain name of the connected database/service name. </p>
<dl class="section warning"><dt>Warning</dt><dd>This call is supported from Oracle 10gR2. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01524">1524</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, <a class="el" href="namespaceocilib.html#a5cd1f7bf7b526707a602632ac2d657f0">ocilib::MakeString()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga0bf8783a356591ae8267c4ca08638c81">OCI_GetDomainName()</a>.</p>

</div>
</div>
<a class="anchor" id="af1de53be0f86bcf1bff41d7fc298677e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classocilib_1_1_timestamp.html">Timestamp</a> ocilib::Connection::GetInstanceStartTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the date and time (<a class="el" href="classocilib_1_1_timestamp.html" title="Object identifying the SQL data type TIMESTAMP. ">Timestamp</a>) server instance start of the. </p>
<dl class="section warning"><dt>Warning</dt><dd>This call is supported from Oracle 10gR2. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01529">1529</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gade7003071dbe1b3ff5bc36cbb2418c3a">OCI_GetInstanceStartTime()</a>.</p>

</div>
</div>
<a class="anchor" id="a6d6e64138627d6fc7d2b6c2173edbff1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int ocilib::Connection::GetStatementCacheSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the maximum number of statements to keep in the statement cache. </p>
<dl class="section note"><dt>Note</dt><dd>Default value is 20 (value from Oracle Documentation)</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>Requires Oracle Client 9.2 or above </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01534">1534</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gabafb62291c1503ecff6ff4ee719a2ff1">OCI_GetStatementCacheSize()</a>.</p>

</div>
</div>
<a class="anchor" id="a633a95c4ccba6b647df22c678db63cf5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::SetStatementCacheSize </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the maximum number of statements to keep in the statement cache. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>- maximum number of statements in the cache</td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd>Requires Oracle Client 9.2 or above </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01539">1539</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gaf6001f3ffc1e8537a4e02bbfe8549d3f">OCI_SetStatementCacheSize()</a>.</p>

</div>
</div>
<a class="anchor" id="a11e9d5c123ffb236d9718613e68a732b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int ocilib::Connection::GetDefaultLobPrefetchSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the default LOB prefetch buffer size for the connection. </p>
<dl class="section warning"><dt>Warning</dt><dd>Requires Oracle Client AND Server 11gR1 or above</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Prefetch size is:<ul>
<li>number of bytes for BLOBs (Blob) and BFILEs (<a class="el" href="classocilib_1_1_file.html" title="Object identifying the SQL data type BFILE. ">File</a>)</li>
<li>number of characters for CLOBs (Clob / NClob).</li>
</ul>
</dd>
<dd>
Default is 0 (prefetching disabled) </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01544">1544</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gaf1026309c40b8419b2a6cd24d71d8090">OCI_GetDefaultLobPrefetchSize()</a>.</p>

</div>
</div>
<a class="anchor" id="a7974876422e8ecd7f566091eb926313d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::SetDefaultLobPrefetchSize </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Enable or disable prefetching for all LOBs fetched in the connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>- default prefetch buffer size</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>If parameter 'value':<ul>
<li>is == 0, it disables prefetching for all LOBs fetched in the connection.</li>
<li>is &gt; 0, it enables prefetching for all LOBs fetched in the connection and the given buffer size is used for prefetching LOBs</li>
</ul>
</dd>
<dd>
LOBs prefetching is disabled by default</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>Requires Oracle Client AND Server 11gR1 or above.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Prefetch size is:<ul>
<li>number of bytes for BLOBs (Blob) and BFILEs (<a class="el" href="classocilib_1_1_file.html" title="Object identifying the SQL data type BFILE. ">File</a>)</li>
<li>number of characters for CLOBs (Clob / NClob). </li>
</ul>
</dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01549">1549</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga069d605439946b83a1fd930670bae710">OCI_SetDefaultLobPrefetchSize()</a>.</p>

</div>
</div>
<a class="anchor" id="ab6423a7725cb1dfbff3bfdc4bcdf792e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int ocilib::Connection::GetMaxCursors </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the maximum number of SQL statements that can be opened in one session. </p>
<dl class="section warning"><dt>Warning</dt><dd>Requires Oracle Client AND Server 12cR1 or above</dd></dl>
<dl class="section note"><dt>Note</dt><dd>the returned value is the same as the db parameter 'open_cursors' from server's parameter file</dd>
<dd>
Return 0 if the client and server version are &lt; 12cR1 </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01554">1554</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga2d69a4abb692871b3378e3d97c74c59e">OCI_GetMaxCursors()</a>.</p>

</div>
</div>
<a class="anchor" id="acb1b9159abfed7f5fca45a33a421680a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ocilib::Connection::IsTAFCapable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Verify if the connection support TAF events. </p>
<dl class="section warning"><dt>Warning</dt><dd>This call is supported from Oracle 10gR2. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01559">1559</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gaec581bccba93866adb0306d819bf355c">OCI_IsTAFCapable()</a>.</p>

</div>
</div>
<a class="anchor" id="a6e83ffbf5d12d6fad2abc6c0ec72d5e7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::SetTAFHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classocilib_1_1_connection.html#a5e5c2e19a29bfedc7d0ea538884eea31">TAFHandlerProc</a>&#160;</td>
          <td class="paramname"><em>handler</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the Transparent Application Failover (TAF) user handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">handler</td><td>- TAF handler procedure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>See TAFHandlerProc documentation for more details</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>This call is supported from Oracle 10gR2. </dd></dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01564">1564</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#ga5cfa430f4621c35bae775409de0c6215">OCI_SetTAFHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a9a290370df27e4e843fc01fd1c9396ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ocilib::Connection::SetUserData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceocilib.html#aaad26690e8171c4564d66776987e1bd2">AnyPointer</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Associate a pointer to user data to the given connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>- User data pointer </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="ocilib__impl_8hpp_source.html#l01576">1576</a> of file <a class="el" href="ocilib__impl_8hpp_source.html">ocilib_impl.hpp</a>.</p>

<p>References <a class="el" href="namespaceocilib.html#ada9a964035fd103d4ec07500f404a658">ocilib::Check()</a>, and <a class="el" href="group___ocilib_c_api_connections.html#gaeed5fe2da7af18c69585fbec9f63c951">OCI_SetUserData()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceocilib.html">ocilib</a></li><li class="navelem"><a class="el" href="classocilib_1_1_connection.html">Connection</a></li>
    <li class="footer">Generated on Mon Mar 21 2016 22:26:38 for OCILIB (C and C++ Driver for Oracle) by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
